package la.bbs558.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import la.bbs558.dao.UserVisitStatisticsDao;
import la.bbs558.entity.UserVisitStatistics;
import la.bbs558.service.UserVisitStatisticsService;
import org.springframework.stereotype.Service;

/**
 * 用户访问统计表(UserVisitStatistics)表服务实现类
 *
 * @author weihanmin
 * @since 2024-01-12 14:36:51
 */
@Service("userVisitStatisticsService")
public class UserVisitStatisticsServiceImpl extends ServiceImpl<UserVisitStatisticsDao, UserVisitStatistics> implements UserVisitStatisticsService {

    @Override
    public void saveOrUpdateVisitCount(UserVisitStatistics userVisitStatistics) {
        getBaseMapper().saveOrUpdateVisitCount(userVisitStatistics);
    }
}

